package cn.sym.user.domain;

import cn.sym.basic.domain.BaseDomain;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author sym
 * @since 2022-02-14
 */
@Data
public class User extends BaseDomain{

    private static final long serialVersionUID = 1L;

    private String username;
    private String email;
    private String phone;
    /**
     * 盐值
     */
    private String salt;
    /**
     * 密码，md5加密加盐
     */
    private String password;
    /**
     * 已注册 已激活 禁用
     */
    private Integer state;
    private Integer age;
    private Date createtime = new Date();
    private String headImg;
    private Long logininfoId;

}
